#include <iostream>
#include <cstdio>
#include "Log.hpp"
using namespace std;

int main()
{

    // LogMessage(DEBUG,"Hello Linux!");

    // LogMessage(__FILE__,__LINE__,DEBUG,"Hello Linux!");
    // LogMessage(__FILE__,__LINE__,DEBUG,"Hello Linux!");
    // LogMessage(__FILE__,__LINE__,DEBUG,"Hello Linux!");
    // LogMessage(__FILE__,__LINE__,DEBUG,"Hello Linux!");

    // Test(3,11,22,33);

    //LogMessage(__FILE__, __LINE__, DEBUG, "Hello Linux!");
    //LogMessage(__FILE__, __LINE__, DEBUG, "Hello Linux! %d", 1);
    //LogMessage(__FILE__, __LINE__, DEBUG, "Hello Linux! %d %s", 1, "Hello World!");
    //LogMessage(__FILE__, __LINE__, DEBUG, "Hello Linux! %d %s %f", 1, "Hello World!", 3.14);
    
    //LOG(DEBUG,"Hello Linux %d %s", 1, "Hello World!");---改进参数,去掉文件名与行数
    LOG(DEBUG,"Hello Linux %d %s", 1, "Hello World!");
    LOG(DEBUG,"Hello Linux %d %s %f", 1, "Hello World!",3.14);
    LOG(DEBUG, "Hello Linux!");

    return 0;
}